@extends('home.layout.base')
@section('scripts')
    <script>
        $(function () {
            $('.form-submit button').click(function(){
                window.location.href = "{{ route('user.index.detail') }}"
            });
        });
    </script>
@endsection
@section('content')
    @include('user.layout.head')
    <div class="container main">
        <div class="row">
            <div class="col-lg-2 user-left">
                @include('user.layout.left')
            </div>
            <div class="col-lg-10 main-list-item user-right">
                <div class="user-right-note">基本资料</div>
                <div class="col-lg-12 user-right-info">
                    <p class="avatar"><img src="{{ auth()->user()->avatar }}" alt=""></p>
                    <p class="title">用户名：</p>
                    <p class="cont">{{ auth()->user()->name }}</p>
{{--                    <p class="title">姓名：</p>--}}
{{--                    <p class="cont">{{ auth()->user()->truename }}</p>--}}
{{--                    <p class="title">身份证：</p>--}}
{{--                    <p class="cont">{{ auth()->user()->card }}</p>--}}
                    <p class="title">手机号：</p>
                    <p class="cont">{{ auth()->user()->username }}</p>
                    <p class="title">邮箱：</p>
                    <p class="cont">{{ auth()->user()->email }}</p>
                    <p class="title">公司：</p>
                    <p class="cont">{{ auth()->user()->company }}</p>
                    <p class="title">个人简介：</p>
                    <p class="cont introduce">{{ auth()->user()->introduce }}</p>
                    <p class="form-submit text-center">
                        <button type="primary" style="width: 150px">修改资料</button>
                    </p>
                </div>
            </div>
        </div>
    </div>
@endsection

